<template>
	<view class="commodity-list">
		<!--商品组件-->
		<Commodity :dataCommodityList="commodityList"></Commodity>
	</view>
</template>

<script>
	import Commodity from '@/components/common/Commodity.vue';
	export default {
		data() {
			return {
				commodityList: [
					{
						id: 1,
						imgUrl: "../../static/img/commodity1.jpg",
						name: "绒毛大衣2022火爆款",
						pprice: "299",
						oprice: "999",
						discount: "5.2"
					},
					{
						id: 2,
						imgUrl: "../../static/img/commodity2.jpg",
						name: "绒毛大衣2022火爆款",
						pprice: "299",
						oprice: "999",
						discount: "5.2"
					},
					{
						id: 3,
						imgUrl: "../../static/img/commodity3.jpg",
						name: "绒毛大衣2022火爆款",
						pprice: "299",
						oprice: "999",
						discount: "5.2"
					}
				]
			}
		},
		components: {
			Commodity
		}
	}
</script>

<style>
</style>